package com.parenting.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.parenting.entities.EvaluationDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.parenting.response.EvaluationListResponse;
import com.parenting.response.NoReplyResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 店铺评价 Mapper 接口
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-09-27
 */
public interface EvaluationMapper extends BaseMapper<EvaluationDO> {
    /***
     * 未回复的列表
     * @param shopId 店铺
     * @return
     */
     IPage<NoReplyResponse> getNoReplyResponseList(@Param("page") IPage page, @Param("shopId") String shopId);

    /****
     *
     * @param evaluationId
     * @return
     */
     List<EvaluationListResponse> getReplyResponseList(@Param("evaluationId") String evaluationId);
}
